const express = require('express')

const app = express()

const bodyParser = require("./11自定义解析表单数据的中间件")

app.use(bodyParser)

app.get('/user', (req, res) => {
    console.log(req.body);
    res.send(req.body)
})
app.listen(80, () => {
    console.log('http://127.0.0.1:80');
})